<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Turtle DB: ca.uqac.dim.ddb.NAryRelation Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Turtle DB
   
   </div>
   <div id="projectbrief">A mini DDBMS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ca.uqac.dim.ddb.NAryRelation Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="ca::uqac::dim::ddb::NAryRelation" --><!-- doxytag: inherits="ca::uqac::dim::ddb::Relation" --><div class="dynheader">
Inheritance diagram for ca.uqac.dim.ddb.NAryRelation:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.png" usemap="#ca.uqac.dim.ddb.NAryRelation_map" alt=""/>
  <map id="ca.uqac.dim.ddb.NAryRelation_map" name="ca.uqac.dim.ddb.NAryRelation_map">
<area href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html" alt="ca.uqac.dim.ddb.Relation" shape="rect" coords="97,0,281,24"/>
<area href="classca_1_1uqac_1_1dim_1_1ddb_1_1_intersection.html" alt="ca.uqac.dim.ddb.Intersection" shape="rect" coords="0,112,184,136"/>
<area href="classca_1_1uqac_1_1dim_1_1ddb_1_1_union.html" alt="ca.uqac.dim.ddb.Union" shape="rect" coords="194,112,378,136"/>
</map>
 </div></div>

<p><a href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_schema.html">Schema</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#ade8528d30b183d354a3146607e3abfc0">getSchema</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#a0257e6313124cade6da4615af262cdd3">addOperand</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> r)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#a8156c71cca60008905f76014d2fd9d9c">tupleCount</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#a3507e66bed2094154fa43629836dd419">NAryRelation</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#a0dc7e5e529a152c33406136a1a23079f">m_relations</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3507e66bed2094154fa43629836dd419"></a><!-- doxytag: member="ca::uqac::dim::ddb::NAryRelation::NAryRelation" ref="a3507e66bed2094154fa43629836dd419" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#a3507e66bed2094154fa43629836dd419">ca.uqac.dim.ddb.NAryRelation.NAryRelation</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0257e6313124cade6da4615af262cdd3"></a><!-- doxytag: member="ca::uqac::dim::ddb::NAryRelation::addOperand" ref="a0257e6313124cade6da4615af262cdd3" args="(Relation r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#a0257e6313124cade6da4615af262cdd3">ca.uqac.dim.ddb.NAryRelation.addOperand</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ade8528d30b183d354a3146607e3abfc0"></a><!-- doxytag: member="ca::uqac::dim::ddb::NAryRelation::getSchema" ref="ade8528d30b183d354a3146607e3abfc0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_schema.html">Schema</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#ade8528d30b183d354a3146607e3abfc0">ca.uqac.dim.ddb.NAryRelation.getSchema</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the relation's schema </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The schema </dd></dl>

<p>Implements <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html#aef622fda44eb3c250098f1b03db5989a">ca.uqac.dim.ddb.Relation</a>.</p>

</div>
</div>
<a class="anchor" id="a8156c71cca60008905f76014d2fd9d9c"></a><!-- doxytag: member="ca::uqac::dim::ddb::NAryRelation::tupleCount" ref="a8156c71cca60008905f76014d2fd9d9c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#a8156c71cca60008905f76014d2fd9d9c">ca.uqac.dim.ddb.NAryRelation.tupleCount</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of actual tuples present in the query. This number is different from the cardinality of the query; it counts the number of tuples that are present in the leaves of the query tree. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The tuple count </dd></dl>

<p>Implements <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html#a2497f0211ff973703b654dbae430d67d">ca.uqac.dim.ddb.Relation</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a0dc7e5e529a152c33406136a1a23079f"></a><!-- doxytag: member="ca::uqac::dim::ddb::NAryRelation::m_relations" ref="a0dc7e5e529a152c33406136a1a23079f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_relation.html">Relation</a>&gt; <a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html#a0dc7e5e529a152c33406136a1a23079f">ca.uqac.dim.ddb.NAryRelation.m_relations</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Engin/src/ca/uqac/dim/ddb/<a class="el" href="_n_ary_relation_8java.html">NAryRelation.java</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceca.html">ca</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac.html">uqac</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim.html">dim</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim_1_1ddb.html">ddb</a>      </li>
      <li class="navelem"><a class="el" href="classca_1_1uqac_1_1dim_1_1ddb_1_1_n_ary_relation.html">NAryRelation</a>      </li>

    <li class="footer">Generated on Thu Aug 30 2012 12:03:10 for Turtle DB by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
